menuconfig BR2_PACKAGE_QT_SQL_MODULE
	bool "SQL Module"
	help
	  Compile Qt SQL Module

if BR2_PACKAGE_QT_SQL_MODULE
config BR2_PACKAGE_QT_MYSQL
	bool "MySQL Driver"
	depends on BR2_USE_MMU # mysql
	select BR2_PACKAGE_MYSQL
	select BR2_PACKAGE_NCURSES
	select BR2_PACKAGE_READLINE
	help
	  Build MySQL driver
	  If unsure, say n.

config BR2_PACKAGE_QT_ODBC
	bool "ODBC Driver"
	select BR2_PACKAGE_UNIXODBC
	help
	  Build ODBC driver
	  If unsure, say n.

config BR2_PACKAGE_QT_PSQL
	bool "PostgreSQL Driver"
	depends on !BR2_STATIC_LIBS
	select BR2_PACKAGE_POSTGRESQL
	help
	  Build PostgreSQL driver
	  If unsure, say n.

comment "PostgreSQL driver needs a toolchain w/ dynamic library"
	depends on BR2_STATIC_LIBS

choice
	prompt "SQLite 3 support"
	default BR2_PACKAGE_QT_SQLITE_NONE
	help
	  Select SQLite support.

config BR2_PACKAGE_QT_SQLITE_NONE
	bool "No sqlite support"
	help
	  Do not compile any kind of SQLite support.

config BR2_PACKAGE_QT_SQLITE_QT
	bool "Qt SQLite"
	help
	  Use Qt bundled SQLite support.

config BR2_PACKAGE_QT_SQLITE_SYSTEM
	bool "System SQLite"
	select BR2_PACKAGE_SQLITE
	help
	  Use system SQLite.

endchoice

endif
